
<style>
a {text-decoration: none;text-shadow: none}
</style>


<?php 
	//print_r($this->jsonObj);
	//echo $this->jsonObj['text'];
	//echo $this->jsonObj['id']."<br/>";	
		$bophan = $this->jsonObj['children'][0];
		$taisan  = $this->jsonObj['children'][1];
?>


<div id="tt"  class="easyui-tree" >
<li>
<div class="tree-node" node-id="<?php echo $this->jsonObj['id'];?>" style="cursor: pointer;">
<span class="tree-hit tree-expanded"></span>
<span class="tree-icon tree-folder tree-folder-open"></span>
<span class="tree-title"> <a href="Bophan"><?php  echo $this->jsonObj['text']; ?></a></span>
</div>

<!-- bophan -->
<ul>
<li>
<div class="tree-node" node-id="<?php echo $bophan['id']; ?>" style="cursor: pointer;">
<span class="tree-indent"></span>
<span class="tree-hit tree-expanded"></span>
<span class="tree-icon tree-folder tree-folder-open"></span>
<span class="tree-title"><a href=""><?php echo $bophan['text']; ?></a></span>
</div>



<ul>
<?php foreach($bophan['children'] as $item):?>
<li>
<div class="tree-node" node-id="<?php echo $item['id'];?>" style="cursor: pointer;">
<span class="tree-indent"></span>
<span class="tree-indent"></span>
<span class="tree-indent"></span>
<span class="tree-icon tree-file"></span>
<span class="tree-title"><a href=""><?php echo $item['text'];?></a></span>
</div>
</li>
<?php endforeach;?>
</ul>
</li>


<!-- khoinha -->
<li>
<div class="tree-node" node-id="<?php echo $taisan['id']; ?>" style="cursor: pointer;">
<span class="tree-indent"></span>
<span class="tree-hit tree-expanded"></span>
<span class="tree-icon tree-folder tree-folder-open"></span>
<span class="tree-title"><a href="Taisan"><?php echo $taisan['text']; ?></a></span>
</div>

<ul>
<?php foreach($taisan['children'] as $items):?>
<li>
<div class="tree-node" node-id="<?php echo $items['id'];?>" style="cursor: pointer;">
<span class="tree-indent"></span>
<span class="tree-indent"></span>
<span class="tree-indent"></span>
<span class="tree-icon tree-file icon-ok"></span>
<span class="tree-title"><a href=""><?php echo $items['text'];?></a></span>
</div>
</li>
<?php endforeach;?>
</ul>

</li>
</ul>


</li>
</div>

